<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>用户注册</title>
<style type="text/css">
*{padding:0; margin:0;}
body{ background:#EFF3F4;}
ul{list-style:none;}
#main{ width:660px; margin:50px auto;}
#register{ background:#FFF; padding:50px;}
#register span{width:100px; height:36px; line-height:36px; display:block; float:left;}
/*
#reg_title{ height:90px; padding-top:23px;}

 
*/
.inputBox{
	width:270px;
	height:36px;
	border: 1px solid #CCCCCC;
}
#register ul li{height:50px; }
a:link{color:#FF6600; text-decoration:none;}
.wel{
	font-family: "宋体";
	font-size: 24px;
	font-weight: bold;
	color: #000000;
	padding-left:100px;
}
.tips{
	font-size: 12px;
	color:#F00;
	height:36px; 
	line-height:18px;
}
.log{text-align:right; margin-right:20px;}
li{ height:36px; line-height:36px;}
.btn{width:270px; height:35px; border:none; background:#FF0000; font-size:18px; margin-left:100px; margin-top:50px;}
.icon{background:url(${pageContext.request.contextPath }/images/icon1.png) no-repeat right;}
</style>
</head>
<body>
	<div id="main">
		<div id="reg_title">
			<p class="wel">欢迎注册</p>
			<p class="log"><a  class="log" href="${pageContext.request.contextPath }/homepage.do" >首页</a>我已经注册，现在要<a href="${pageContext.request.contextPath }/user/login.jsp">登陆</a></p>
		</div>
		<div id="register">
			<form action="${pageContext.request.contextPath }/register.do" method="post" id="registerForm">
			<ul>
				<li class="tips">${requestScope.tips }</li>
				<li><span class="bTitle">用户名：</span>
				<input name="userName" type="text" class="inputBox icon" id="userName">
				</li>
				 
				<li><span>性别：</span>
				男	<input name="sex" type="radio" value="男" checked>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;女	<input name="sex" type="radio" value="女" >
				</li>
                
				<li><span>学号：</span>
				<input name="number" type="text" class="inputBox" id="number">
				</li>
				
			   <li><span>密码：</span>
				<input name="password" type="password" class="inputBox" id="password">
			  </li>
				<li><span>重复密码：</span>
				<input name="repassword" type="password" class="inputBox" id="repassword">
				</li>
                <li><span>邮箱：</span>
				<input name="email" type="text" class="inputBox" id="email">
				</li>
                <li><span>电话：</span>
				  <input name="phone" type="text" class="inputBox" id="phone">
				</li>
				 <li><span>QQ：</span>
				   <input name="qq" type="text" class="inputBox" id="qq">
				</li>
                <li><span>微信：</span>
				  <input name="weixin" type="text" class="inputBox" id="weixin">
				</li>
			</ul>	
				<input name="submit" type="submit" class="btn" value="注册" onClick="loginsubmit()"/>

			</form>
		</div>
	</div>
</body>
</html>